<?php

class Deconnexion extends CI_Controller
{
	public function deconnecter()
	{
		$this->load->library('session');
		$this->load->helper('url');
		$this->session->sess_destroy();
		redirect(base_url());
	}
}
?>